<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:jsp="http://java.sun.com/JSP/Page"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">

    <ui:composition template="./template/login_template.xhtml">
        <ui:define name="contentLogin" >
                        <h:form>             
                                <br/><rich:spacer width="2%"></rich:spacer>
                                <label>Login</label><rich:spacer height="10px"></rich:spacer><br/>
                                <rich:spacer width="6%"></rich:spacer>
                                <h:inputText style="width:150px" maxlength="40"
                                             value="#{professor.loginBusca}"/>
                                <br/><br/><rich:spacer width="2%"></rich:spacer>
                                <label>Senha</label><rich:spacer height="10px"></rich:spacer><br/>
                                <rich:spacer width="6%"></rich:spacer>
                                <h:inputSecret style="width:150px" maxlength="40"
                                             value="#{professor.senhaBusca}"/>
                                <br/><br/><rich:spacer  height="5px" width="64%"></rich:spacer>
                                <h:commandLink action="#{professor.buscaLogin}" value="Entrar" styleClass="buttonLogin"/>
                        </h:form>
        </ui:define>        
    </ui:composition>
</html>

